home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILECOPY / MOVEFIL.ZIP / MV.DOC < prev    next >
Encoding:
Text File  |  1989-09-08  |  3.7 KB  |  105 lines

  1.         MV                     Move files (MS-DOS)            Version 4.2
  2.  
  3.             mv [-hqsv!] source [...] [target]
  4.  
  5.         The sources may be single files, file specifications containing
  6.         wildcards, or multiple file specifications separated by commas.
  7.         File specifications may include disk drives and/or directory
  8.         names.
  9.  
  10.         If multiple files are being moved, the target must be a disk
  11.         drive and/or a directory name.  If only one file is being moved,
  12.         the target may also be the name of another file.  If the target
  13.         is omitted (syntactically only possible with one source
  14.         argument), the current directory is assumed.  If the target name
  15.         ends with a backslash and no such directory exists, it will be
  16.         created.
  17.  
  18.         If a source argument contains multiple file specifications
  19.         separated by commas, disk drive or directory names encountered
  20.         are passed along to subsequent file specifications until
  21.         reassigned.  Thus,
  22.  
  23.             mv a:\src\*.c,*.obj,\exe\*.* another.dat b:
  24.  
  25.         is the same as
  26.  
  27.             mv a:\src\*.c a:\src\*.obj a:\exe\*.* another.dat b:
  28.  
  29.         A list of file specifications separated by commas is
  30.         syntactically a single source argument, thus
  31.  
  32.             mv \snerd\bob,carol,ted,alice
  33.  
  34.         will move four files from the \snerd\ directory to the current
  35.         directory, since no target has been specified.
  36.  
  37.         If a target file exists, MV normally asks for verification before
  38.         overwriting.
  39.  
  40.         If the source and target files are on the same drive, the file is
  41.         renamed and/or moved to the new directory without physically
  42.         copying the data.  If the move is across drives, CP is spawned to
  43.         do the copy and the source file is deleted if the copy succeeds;
  44.         CP.EXE must be in the current directory or in the search path
  45.         given by the DOS PATH variable.
  46.  
  47.         If a target directory is specified and does not exist, it will be
  48.         created.  It is usually necessary to include a trailing slash on
  49.         the target name in this case.
  50.  
  51.  
  52.                               Command Line Options
  53.  
  54.         -h (hidden)
  55.  
  56.         Ignore files with the Hidden attribute.
  57.  
  58.         -n (no replace)
  59.  
  60.         Don't overwrite existing files; only do moves to non-existent
  61.         files.  No comment is made if a move is skipped due to an already
  62.         existing file.
  63.  
  64.         -q (quiet)
  65.  
  66.         Supress informational move messages.
  67.  
  68.         -s (system)
  69.  
  70.         Ignore files with the System attribute.
  71.  
  72.         -v (verify)
  73.  
  74.         Causes user confirmation to be requested before moving.  At each
  75.         file prompt the user answers either Y (do the copy), ! (do the
  76.         move and don't ask for confirmation on future files), or N (don't
  77.         move this file).  Any other answer is the same as N
  78.  
  79.         -! (hammer!)
  80.  
  81.         Supress the verification which is normally requested (even
  82.         without -v) before overwriting an existing file.
  83.  
  84.         Options may be combined as in
  85.  
  86.             mv -q! ...
  87.  
  88.         The mv! command is a shorthand for mv -!.  Usage is
  89.  
  90.             mv! [-hqsv] source [...] [target]
  91.  
  92.  
  93.         Copyright (c) 1985-89 by Bryan Higgins.  All rights reserved.
  94.         Permission is hereby given to reproduce and distribute this
  95.         program without restriction for non-commercial use.
  96.  
  97.         The author may be reached/rewarded at
  98.  
  99.                 1802 Channing Way
  100.                 Berkeley, CA 94703-1725
  101.  
  102.         Please specify MV version 4.2 when referring to this program.
  103.  
  104.         One of the Kramden Utilities.
  105.